package me.firstapp.module.weixin.member;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import me.firstapp.module.base.BaseEntity;

@Entity
@Table(name = "SOFT_FEE")
public class SoftFee extends BaseEntity {

	private static final long serialVersionUID = -6899286123471371460L;

	// 0粉丝，1会员，2代理，3合伙人
	@Column(name = "VIP_LEVEL", columnDefinition = "TINYINT", unique = true, nullable = false)
	private Integer vipLevel;

	// 价格
	@Column(name = "PRICE", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal price;

	// 有效天数，0代表永久
	@Column(name = "VALID_DAYS", columnDefinition = "INT DEFAULT 0", nullable = false)
	private Integer validDays;

	// 上级基础会员贝币分成
	@Column(name = "CHIEF_BASE_VIP_JIN_BI", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal chiefBaseVipJinBi;

	// 上级高级代理贝币分成
	@Column(name = "CHIEF_HIGH_VIP_JIN_BI", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal chiefHighVipJinBi;

	// 上级基础会员积分分成
	@Column(name = "CHIEF_BASE_VIP_POINT", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal chiefBaseVipPoint;

	// 上级高级代理积分分成
	@Column(name = "CHIEF_HIGH_VIP_POINT", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal chiefHighVipPoint;

	// 备注
	@Column(name = "REMARK", length = 40)
	private String remark;

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getVipLevel() {
		return vipLevel;
	}

	public void setVipLevel(Integer vipLevel) {
		this.vipLevel = vipLevel;
	}

	public BigDecimal getChiefBaseVipJinBi() {
		return chiefBaseVipJinBi;
	}

	public void setChiefBaseVipJinBi(BigDecimal chiefBaseVipJinBi) {
		this.chiefBaseVipJinBi = chiefBaseVipJinBi;
	}

	public BigDecimal getChiefHighVipJinBi() {
		return chiefHighVipJinBi;
	}

	public void setChiefHighVipJinBi(BigDecimal chiefHighVipJinBi) {
		this.chiefHighVipJinBi = chiefHighVipJinBi;
	}

	public BigDecimal getChiefBaseVipPoint() {
		return chiefBaseVipPoint;
	}

	public void setChiefBaseVipPoint(BigDecimal chiefBaseVipPoint) {
		this.chiefBaseVipPoint = chiefBaseVipPoint;
	}

	public BigDecimal getChiefHighVipPoint() {
		return chiefHighVipPoint;
	}

	public void setChiefHighVipPoint(BigDecimal chiefHighVipPoint) {
		this.chiefHighVipPoint = chiefHighVipPoint;
	}

	public Integer getValidDays() {
		return validDays;
	}

	public void setValidDays(Integer validDays) {
		this.validDays = validDays;
	}

}
